<template>
  <div class="app-work-container">
    <router-view />
    <van-tabbar v-model="active" active-color="#4D98FF">
      <van-tabbar-item replace to="/publicline/index">
        <span>工作台</span>
        <template #icon>
          <img src="~@/assets/imgs/publicline/index/tab_index.png" />
        </template>
      </van-tabbar-item>
      <van-tabbar-item replace to="/publicline/index">
        <span>运营分析</span>
        <template #icon>
          <img src="~@/assets/imgs/publicline/index/tab_yyfx.png" />
        </template>
      </van-tabbar-item>
      <van-tabbar-item replace to="/publicline/index">
        <span>场景营销</span>
        <template #icon>
          <img src="~@/assets/imgs/publicline/index/tab_yxcj.png" />
        </template>
      </van-tabbar-item>
      <van-tabbar-item replace to="/publicline/index">
        <span>综合服务</span>
        <template #icon>
          <img src="~@/assets/imgs/publicline/index/tab_khfw.png" />
        </template>
      </van-tabbar-item>
      <van-tabbar-item replace to="/publicline/index">
        <span>个人中心</span>
        <template #icon>
          <img src="~@/assets/imgs/publicline/index/tab_grzx.png" />
        </template>
      </van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>

  export default {
    name: "WorkLayout",
    data() {
      return {
        active: 0,
      }
    },
    methods: { 
    },
  }
</script>
<style lang="less" scoped>
.app-work-container {
  background: #F3F7FA;
  padding-bottom: 72px;
  .van-tabbar {
    height: 72px;
    /deep/ .van-tabbar-item__icon {
      margin-bottom: 8px;
    }
    .van-tabbar-item__icon img {
      height: 25px;
    }
    .van-tabbar-item {
      font-size: 13px;
    }
  }
}
</style>